package com.climb.spingcloud.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author Administrator-NANA
 * @date 2021-07-29 09:05:23
 * @description
 */
@Configuration
@EnableDiscoveryClient
//开启Feign功能
@EnableFeignClients({"com.climb.spingcloud.feign"})
@MapperScan(basePackages = "com.climb.**.mapper")
public class OrderConfiguration implements WebMvcConfigurer {
}
